package cn.wxManage.goodsManage.model;


import cn.common.goods.model.BaseGoods;
import cn.common.goods.model.BaseGoodsStyle;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class Goods extends BaseGoods{
    @ApiModelProperty(value = "商品种类名称")
    private String typeName;

    @ApiModelProperty(value = "商品款式数据(一对一情况)")
    private GoodsStyle goodsStyle;

    @ApiModelProperty(value = "商品主图地址")
    private List<String> mainImgPath;

    @ApiModelProperty(value = "商品详情页地址")
    private List<String> detailImgPath;

    @ApiModelProperty(value = "商品款式数据(一对多情况)")
    private List<GoodsStyle> styleList;

    @ApiModelProperty(value = "是否收藏")
    private boolean isCollect;

    public boolean isCollect() {
        return isCollect;
    }

    public void setCollect(boolean collect) {
        isCollect = collect;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public List<String> getMainImgPath() {
        return mainImgPath;
    }

    public void setMainImgPath(List<String> mainImgPath) {
        this.mainImgPath = mainImgPath;
    }

    public List<String> getDetailImgPath() {
        return detailImgPath;
    }

    public void setDetailImgPath(List<String> detailImgPath) {
        this.detailImgPath = detailImgPath;
    }

    public List<GoodsStyle> getStyleList() {
        return styleList;
    }

    public void setStyleList(List<GoodsStyle> styleList) {
        this.styleList = styleList;
    }

    public GoodsStyle getGoodsStyle() {
        return goodsStyle;
    }

    public void setGoodsStyle(GoodsStyle goodsStyle) {
        this.goodsStyle = goodsStyle;
    }
}